﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Ins : MonoBehaviour
{
    public GameObject A_Pre;
    public GameObject B_Pre;
    public int num;
    public float A_Rate;

    void Awake()
    {
        for (int i = 0; i < num*A_Rate; i++)
        {
            Instantiate(A_Pre);
        }
        for (int i = 0; i < num-num*A_Rate; i++)
        {
            Instantiate(B_Pre);
        }
    }



}
